<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="layui-form-item">
        <label for="L_pass" class="layui-form-label"> <span
                class="x-red">*</span>密码
        </label>
        <div class="layui-input-inline password">
            <input type="password" name="" class="secret1 layui-input"> <span
                class="eyes1"> <img class="secreteyes1 fa"
                                    src="<!--图片1-->"> <!-- 闭眼 --> <img
                class="secreteyesk1 none fa" src="<!--图片2-->">
            <!-- 睁眼 -->
                </span>
        </div>
    </div>

    <i class="fa fa-eye-slash"></i>
    <div class="layui-form-item">
        <label for="L_repass" class="layui-form-label"> <span
                class="x-red">*</span>确认密码
        </label>
        <div class="layui-input-inline password">
            <input type="password" class="secret2 layui-input"> <span
                class="eyes2"> <img class="secreteyes2 fa"
                                    src="<!--图片1-->"> <!-- 闭眼 --> <img
                class="secreteyesk2 none fa" src="<!--图片2-->">
            <!-- 睁眼 -->
                </span>
        </div>
    </div>
</body>
</html>